#include <stdio.h>
int main()
{
    int a = 6 / 4;
    printf("%d\n", a);//两目都为整形，结果也为整形
    float b = 6 / 4;
    printf("%0.1f\n", b);//只是使结果有小数
    double c = 6 / 4.0;
    printf("%0.1f\n", c);
    return 0;
}